import request from './request'
export const getanswer = (params) => {
  return request({
    url: '/api/admin/examPaperAnswer',
    method: 'GET',
    params
  })
}
<<<<<<< HEAD

export const getanswerformid = (aid) => {
  return request({
    url: `/api/admin/examPaperAnswerContent/${aid}`,
    method: 'GET'
  })
}

export const sgetanswerformid = (aid) => {
  return request({
    url: `/api/student/AnswerPaperSelect/${aid}`,
    method: 'GET'
  })
}

export const submitjudge = (data) => {
  return request({
    url: '/api/admin/examPaperAnswerContent',
    method: 'PUT',
    data
  })
}

export const submitanswer = (data) => {
  return request({
    url: '/api/answerSubmit/',
    method: 'POST',
    data
  })
}
=======
>>>>>>> 7d520118954f103433f5074ad63a16f5b63acf51
